package de.wojenko.sps;

import java.util.List;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name="sprint")
public class XmlSprint implements SprintData<XmlUserStory> {
	
	private String name;
	private List<XmlUserStory> backloItemList;

	@Override
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	@Override
	@XmlElementWrapper(name="userStoryList")
	@XmlElement(name="userStory")
	public List<XmlUserStory> getBacklogItemList() {
		return backloItemList;
	}
	
	public void setBacklogItemList(List<XmlUserStory> userStoryList) {
		this.backloItemList = userStoryList;
	}
}
